﻿// -------------------------------------------------------------------------
//    @FileName         :    NFWorldWelfareService.h
//    @Author           :    gaoyi
//    @Date             :    2025-07-09
//    @Email			:    445267987@qq.com
//    @Module           :    NFWorldWelfareService
//
// -------------------------------------------------------------------------

#pragma once

#include "E_Welfare.nanopb.h"
#include "NFComm/NFCore/NFPlatform.h"

struct UnixTimeRange;

class NFWorldWelfareService
{
public:
    static int GetServerOpenTime(uint32_t& dwGameOpenUnixSec);
    static int CheckInUnixTimeRange(const UnixTimeRange& timeRange, uint32_t dwUnixSec);
    static bool IsHaveWorldData(const E_Welfare& stDesc);
};
